<template>
  <div><router-view></router-view>
  <van-tabbar v-model="active" route >
  <van-tabbar-item to="/demo" icon="home-o">首页</van-tabbar-item>
  <van-tabbar-item icon="chat-o">消息</van-tabbar-item>
  <van-tabbar-item icon="friends-o">公益招聘</van-tabbar-item>
  <van-tabbar-item icon="user-circle-o">主页</van-tabbar-item>
  <van-tabbar-item icon="setting-o">我的</van-tabbar-item>
  <!-- <van-icon name="chat-o" dot /> -->
</van-tabbar>
</div>
</template>

<script>
import Vue from 'vue';
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);
export default {
  data(){
    return{
      active:''
    }
  }
}
</script>
 
<style>

</style>